package com.gitee.magic.jdbc.spring.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.gitee.magic.jdbc.spring.schema.OrmMapperRegister;

/**
 * @author start
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(OrmMapperRegister.class)
public @interface EnabledOrmMapperScan {

	String[] mapperPackage() default {
		"mapper/*.xml",
		"mapper/*/*.xml"
	};
	
}
